package com.shoppingmall.bean;

import java.sql.Date;

public class UserInfoBean {
	/**
	 * 用户信息ID
	 */
	private int infoId;
	
	/**
	 * 用户名
	 */
	private String username;
	
	/**
	 * 用户真实姓名
	 */
	private String realname;
	
	/**
	 * 性别
	 */
	private String sex;
	
	/**
	 * 出生日期
	 */
	private Date birth;
	
	/**
	 * 身份证
	 */
	private String idCard;
	
	/**
	 * 邮箱
	 */
	private String email;
	
	/**
	 * 地址
	 */
	private String address;
	
	/**
	 * 手机号码
	 */
	private String mobile;
	
	/**
	 * 一对一
	 */
	private UserLoginBean userLoginBean;

	/**
	 * 用户信息编号
	 * @return int
	 */
	public int getInfoId() {
		return infoId;
	}

	/**
	 * 用户名
	 * @return String
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * 用户是真实姓名
	 * @return String
	 */
	public String getRealname() {
		return realname;
	}

	/**
	 * 性别
	 * @return String
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * 出生日期
	 * @return Date
	 */
	public Date getBirth() {
		return birth;
	}

	/**
	 * 身份证
	 * @return String
	 */
	public String getIdCard() {
		return idCard;
	}

	/**
	 * 邮箱
	 * @return String
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 地址
	 * @return String
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 手机号码
	 * @return String
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 用户一对一
	 * @return UserLoginBean
	 */
	public UserLoginBean getUserLoginBean() {
		return userLoginBean;
	}

	/**
	 * 用户信息编号
	 * @param infoId
	 */
	public void setInfoId(int infoId) {
		this.infoId = infoId;
	}

	/**
	 * 用户名
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * 用户真实姓名
	 * @param realname
	 */
	public void setRealname(String realname) {
		this.realname = realname;
	}

	/**
	 * 性别
	 * @param sex
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * 出生日期
	 * @param birth
	 */
	public void setBirth(Date birth) {
		this.birth = birth;
	}

	/**
	 * 身份证
	 * @param idCard
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	/**
	 * 邮箱
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	
	/**
	 * 地址
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 手机号码
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 用户一对一 
	 * @param userLoginBean
	 */
	public void setUserLoginBean(UserLoginBean userLoginBean) {
		this.userLoginBean = userLoginBean;
	}

	public UserInfoBean() {};
	public UserInfoBean(int infoId, String username, String realname, String sex, Date birth, String idCard,
			String email, String address, String mobile, UserLoginBean userLoginBean) {
		super();
		this.infoId = infoId;
		this.username = username;
		this.realname = realname;
		this.sex = sex;
		this.birth = birth;
		this.idCard = idCard;
		this.email = email;
		this.address = address;
		this.mobile = mobile;
		this.userLoginBean = userLoginBean;
	}

	@Override
	public String toString() {
		return "UserInfoBean [infoId=" + infoId + ", username=" + username + ", realname=" + realname + ", sex=" + sex
				+ ", birth=" + birth + ", idCode=" + idCard + ", email=" + email + ", address=" + address + ", mobile="
				+ mobile + ", userLoginBean=" + userLoginBean + "]";
	}

	
	
	
}
